.class Lcom/estrongs/android/ui/view/c$c;
.super Ljava/lang/Object;
.source "CreateFtpServerView.java"

# interfaces
.implements Landroid/widget/CompoundButton$OnCheckedChangeListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/estrongs/android/ui/view/c;->b(Ljava/lang/String;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:Lcom/estrongs/android/ui/view/c;


# direct methods
.method constructor <init>(Lcom/estrongs/android/ui/view/c;)V
    .locals 0

    .line 1
    iput-object p1, p0, Lcom/estrongs/android/ui/view/c$c;->a:Lcom/estrongs/android/ui/view/c;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onCheckedChanged(Landroid/widget/CompoundButton;Z)V
    .locals 0

    .line 1
    iget-object p1, p0, Lcom/estrongs/android/ui/view/c$c;->a:Lcom/estrongs/android/ui/view/c;

    invoke-static {p1}, Lcom/estrongs/android/ui/view/c;->r(Lcom/estrongs/android/ui/view/c;)Landroid/widget/EditText;

    move-result-object p1

    invoke-virtual {p1}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object p1

    invoke-virtual {p1}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object p1

    if-eqz p2, :cond_0

    const-string p2, "80"

    .line 2
    invoke-virtual {p1, p2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result p1

    if-eqz p1, :cond_1

    .line 3
    iget-object p1, p0, Lcom/estrongs/android/ui/view/c$c;->a:Lcom/estrongs/android/ui/view/c;

    invoke-static {p1}, Lcom/estrongs/android/ui/view/c;->r(Lcom/estrongs/android/ui/view/c;)Landroid/widget/EditText;

    move-result-object p1

    const/16 p2, 0x1bb

    invoke-static {p2}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object p2

    invoke-virtual {p1, p2}, Landroid/widget/EditText;->setText(Ljava/lang/CharSequence;)V

    goto :goto_0

    :cond_0
    const-string p2, "443"

    .line 4
    invoke-virtual {p1, p2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result p1

    if-eqz p1, :cond_1

    .line 5
    iget-object p1, p0, Lcom/estrongs/android/ui/view/c$c;->a:Lcom/estrongs/android/ui/view/c;

    invoke-static {p1}, Lcom/estrongs/android/ui/view/c;->r(Lcom/estrongs/android/ui/view/c;)Landroid/widget/EditText;

    move-result-object p1

    const/16 p2, 0x50

    invoke-static {p2}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object p2

    invoke-virtual {p1, p2}, Landroid/widget/EditText;->setText(Ljava/lang/CharSequence;)V

    :cond_1
    :goto_0
    return-void
.end method
